const app = getApp();

Component({
  properties: {
    params: {
      type: Object,
      value: {}
    }
  },
  data: {},
  ready() {
    const {
      padding_top_bottom,
      background,
      color,
      icon,
      content
    } = this.properties.params

    this.setData({
      padding_top_bottom: padding_top_bottom,
      background: background,
      color: color,
      icon: icon,
      content: content
    });
  },
  methods: {}
})